import java.util.*;
/**
 * Write a program that rpints a date
 * 
 * @author Amrita Mukherjee
 * @version 10/16/2012
 */
public class MyDate
{
   public static void main(String[] args)
    {
       Calendar cal = Calendar.getInstance();
       cal.setTime(new Date());  //today
       int year = cal.get(Calendar.YEAR);
       int month = 1 + cal.get(Calendar.MONTH); //month starts at 0
       int day = cal.get(Calendar.DAY_OF_MONTH);
       System.out.println(year +" " + month + " " + day);
    }
}
/*
 * My test Session:
 * 2012 10 16

 */